﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Entry
{
    /// <summary>
    /// A major resource (Resource attribute marked as true, e.g. Thumbnail) Link to a list of minor resource (
    /// Resource attribute marked as false, e.g. SmallThumbnail, LargeThumbnail)
    /// Although all resource is returned from PropertyHost's GetSupportedProperties() method, COFEWS use this to reduce the resource to list at a time.
    /// </summary>
    public interface IResourceList
    {
        /// <summary>
        /// The parent resource property.
        /// </summary>
        object ParentResource { get; }

        /// <summary>
        /// The child resource properties.
        /// </summary>
        IEnumerable<object> Resources { get; }
    }
}
